﻿using BW.IBLL;
using BW.Model;
using IDAL;

namespace BW.BLL
{
    public class fenleiBLL : IfenleiBLL
    {
        public fenleiBLL(IbaseDAL<fenleiModel> dal)
        {
            Dal = dal;
        }

        public IbaseDAL<fenleiModel> Dal { get; }

        public List<fenleiModel> bang()
        {
            return Dal.GetAll().ToList();
        }
    }
}
